package com.woniuxy.relation.client;

import com.woniuxy.commons.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @auther 黄磊
 * @2022/8/1 14:25
 **/
@FeignClient(contextId = "accountRelationClient",name="relation-server",path="/relation")

public interface AccountRelationClient {

    @GetMapping("/attentionScreen/{followedAccountId}")
    Result attentionScreen(@PathVariable("followedAccountId") String followedAccountId);


    @GetMapping("/cancelScreen/{followedAccountId}")
    Result cancelScreen(@PathVariable String followedAccountId);

}
